<?php

use Faker\Generator as Faker;

$factory->define(App\Models\Article::class, function (Faker $faker) {
    return [
        'user_id' => mt_rand(1,10),
        //'title' => $faker->text(20),
        'title' => $faker->word,
        'content' => $faker->text(500)
    ];
});
